<div style='float: right;'>
	<a class='pale' href='?{$lego->actUri('new')}'>нов</a>
	&nbsp;&nbsp;
	<a class='pale' href='?{$lego->actUri('edit')}'>ред</a>
	&nbsp;&nbsp;
	{if test="!$lego->page['deleted']"}
		<a class='pale' href='?{$lego->actUri('delete')}'>уд</a>
	{else}
		<a class='pale' href='?{$lego->actUri('restore')}'>восстановить</a>
	{/if}
	
</div>